package com.rightsidetech.trade.dtos.request;

import com.rightsidetech.commom.base.TimeQueryRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class TdCommodityTradeOrderReq extends TimeQueryRequest implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 订单编号
     */
    @ApiModelProperty("订单编号")
    private String orderNo;
    /**
     * 第三方订单号
     */
    @ApiModelProperty("支付单号")
    private String thirdOrderNo;

    @ApiModelProperty("0-交易, 1-退款")
    private Integer orderStatus;

    @ApiModelProperty("时间类型 1付款时间 2退款时间")
    private Byte type;

    @ApiModelProperty(hidden = true)
    private Long areaId;

    @ApiModelProperty(hidden = true)
    private Long agentId;
}
